package org.langqiao.algorithm.recursion;

/**
 * 打印输出0~9的数字
 * @author YMY
 *
 */

public class Dayin {
	
	public static void main(String[] args) {
		f(0,9);
	}
	public static void f(int begin,int end) {
		
		if(begin>9)
			return;
		
		System.out.println(begin);	
		f(begin+1,end);		
	}
}
